/*
 * Copyright (c)  小马哥. 2022-2024. All rights reserved.
 *
 */

package com.phsms.common.sensitive.entity;


import com.phsms.common.sensitive.enums.SensitiveTypeEnum;
import com.phsms.common.sensitive.annotation.DesensitizationProp;
import lombok.Data;

/**
 * 实体类用于测试
 * @author Mar
 * @date 2023年1月16日
 */
@Data
public class SensitiveEntity {

    private String id;

    @DesensitizationProp(value = SensitiveTypeEnum.CUSTOM,preLength = 1,sufLength = 2)
    private String name;

    @DesensitizationProp(SensitiveTypeEnum.MOBILE_PHONE)
    private String mobile;

    @DesensitizationProp(SensitiveTypeEnum.ID_CARD)
    private String idCard;

}
